// 命名空间需要手动导出，命名空间内部的函数，变量也需要手动导出
export namespace price {
  export function format(price: string | number) {
    return "$" + price;
  }

  export const name = "price";
}

export namespace date {
  export function format(dateString: string | number) {
    return "2022-10-10";
  }

  export const name = "date";
}
